package com.ceair.flight.refund.dto.audit;

public class AuditResult implements IAuditResult {

    private static final long serialVersionUID = -3443870086610945924L;

    private boolean error;

    private String errorDesc;

    public AuditResult() {
    }

    public AuditResult(boolean error, String errorDesc) {
        this.error = error;
        this.errorDesc = errorDesc;
    }

    @Override
    public boolean hasError() {
        return error;
    }

    @Override
    public String getErrorDesc() {
        return errorDesc;
    }

    /**
     * @param error the error to set
     */
    public void setError(boolean error) {
        this.error = error;
    }

    /**
     * @param errorDesc the errorDesc to set
     */
    public void setErrorDesc(String errorDesc) {
        this.errorDesc = errorDesc;
    }

}
